package com.itstyle.seckill.topic.mongo;

/**
 * @Auther: liuwenxiang
 * @Date: 2020/6/9 21:23
 * @Description:
 */
public interface UserRepository {

    void saveUser(User user);
    User findUserByUserName(String userName);
    long updateUser(User user);
    void deleteUserById(Long id);
}
